.container {
  background-color: var(--color-background);
  color: var(--color-text);
  position: relative;
}

.suggestions {
  list-style: none;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  z-index: 10;
  overflow: hidden;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.suggestion {
  background-color: var(--color-background);
  position: relative;
  margin: 0;
  user-select: none;
  padding: 0.5rem 0.75rem;
  display: flex;
}

.suggestion:last-child {
  border-bottom: none;
}

.username {
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
}

.name {
  color: var(--color-gray-700);
  margin-left: 0.25rem;
}

.suggestion.selected,
.suggestion:hover {
  cursor: pointer;
  color: var(--color-background);
  background: var(--color-primary);
}

.suggestion.selected:first-child,
.suggestion:first-child:hover {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.suggestion.selected:last-child,
.suggestion:last-child:hover {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.suggestion.selected .name,
.suggestion:hover .name {
  color: #c7d0ff;
}

.suggestion.selected .username,
.suggestion:hover .username {
  color: white;
}
